home *** CD-ROM | disk | FTP | other *** search
- Path: phys.ksu.edu!binchen
- From: binchen@phys.ksu.edu (Bin Chen)
- Newsgroups: comp.lang.c
- Subject: a typedef question
- Date: 19 Mar 1996 08:10:13 GMT
- Organization: Kansas State University
- Distribution: us
- Message-ID: <4ilq55$4oo@newserv.ksu.ksu.edu>
- NNTP-Posting-Host: bohr.phys.ksu.edu
-
- Here is the question:
-
- typedef struct A {
- ......
- struct B one_attr;
- ......
- };
-
- typedef struct B {
- ......
- struct A two_attr;
- ......
- };
-
- Is this OK? How do you make it correct if it is not right?
- Thanks.
-
- BIn
-
- --
- Bin Chen
-
-